package com.bosc.automationui.repository;

import com.bosc.automationui.entity.ETLJobDependency;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;
import java.util.Queue;

public interface ETLJoblDependencyRepository extends CrudRepository<ETLJobDependency,String> {


    List findAllByEtlJob(String predicate);

    //    @Query(value = "SELECT e from  ETLJobDependency e  where UPPER(e.etlJob) = UPPER(:etlJob)")
//    List<ETLJobDependency> findByEtlJob(@Param("etlJob")String etlJob);
    List findByEtlJob(String etlJob);

}
